package cn.dgut.Entity;

public class Select_Course {
    private int id;
    private int course_id;
    private int sid;
    private String time;

    public Select_Course(int id, int course_id, int sid, String time) {
        this.id = id;
        this.course_id = course_id;
        this.sid = sid;
        this.time = time;
    }

    public Select_Course() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getCourse_id() {
        return course_id;
    }

    public void setCourse_id(int course_id) {
        this.course_id = course_id;
    }

    public int getSid() {
        return sid;
    }

    public void setSid(int sid) {
        this.sid = sid;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    @Override
    public String toString() {
        return "{" +
                "\"name1\":\"" + course_id  +
                "\",\"name2\":\"" + sid  +
                "\",\"name3\":\"" + time  +
                "\"}";
    }
}
